﻿using JinfuyuanProject.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JinfuyuanProject.Repository.Interface
{
    public interface IRoleAndPageRepository
    {
        IQueryable<RoleAndPage> GetList();

        RoleAndPage GetModel(int Id);

        bool Delete(RoleAndPage roleAndPage);

        int Insert(RoleAndPage roleAndPage);

        bool Update(RoleAndPage roleAndPage);
    }
}
